package com.yang.flower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yang.flower.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: OrderMapper
 * @Author: Yang
 * @DateTime: 2022/12/7 9:48
 **/
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
    Page<Orders> page(Page<Orders> page, @Param("user") String user, @Param("role") String role,@Param("userId") Long id,@Param("orderCode") String orderCode);
}
